﻿@{
	ViewBag.Title = "Process Trace Search";
	AjaxOptions ajaxOpts = new AjaxOptions
	{
		UpdateTargetId = "SearchResults",
		Url = Url.Action("SearchResults")
	};
}


@section Header{
	<link href="@Url.Content("~/Content/jquery.jqGrid/ui.jqgrid.css")" rel="stylesheet" type="text/css" />
	
}

@section Scripts{
	<script type="text/javascript">
		$(function () {

			madmin.init();

			//set our page as active
			$('a[data-target-page="page-search"]').parent().parent().addClass('active');


			// make code pretty
			window.prettyPrint && prettyPrint();

		});


	</script>
}

<h2>Process Trace Search</h2>

@using (Ajax.BeginForm(ajaxOpts))
{ 
	<fieldset>
		<legend>Search Criteria</legend>
		@Html.Action("SearchCriteria")
	</fieldset>
	
	
	<fieldset>
		<legend>Results</legend>
		<div id="SearchResults">
			@Html.Action("SearchResults")
		</div>
	</fieldset>
	
}
